package com.alliky.cart.mvp.contract;

import com.alliky.core.entity.vo.GoodsVO;
import com.alliky.core.base.IModel;
import com.alliky.core.base.IView;

import java.util.HashMap;
import java.util.List;

import io.reactivex.Observable;

/**
 * ================================================
 *
 * @Description: 描述
 * @Author: wxianing
 * @Date: 2022/7/13 17:46
 * ================================================
 */
public interface CartContract {

    interface View extends IView {
        void setPageNum(int pageNum);

        void showRecommendGoods(List<GoodsVO> goodsVOS, boolean isRefresh);
    }

    interface Model extends IModel {
        Observable getRecommendGoods(HashMap hashMap);
    }

    interface Presenter {
        void getRecommendGoods(HashMap hashMap,boolean isRefresh);
    }
}
